]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
screenshot: Update method name in screenshot bind
authorIvan Molodetskikh <yalterz@gmail.com>
Sun, 20 Feb 2022 05:54:11 +0000 (08:54 +0300)
committerMarge Bot <marge-bot@gnome.org>
Sun, 20 Feb 2022 12:04:02 +0000 (12:04 +0000)
I missed it during refactoring. Makes this bind work again.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2202>

js/ui/screenshot.js

index adc1f8cb3501ddc4c91c9402c272a75edf4e8c62..d40c5b2449e8fa58aee7c543065f1033d9d69920 100644 (file)
@@ -1332,7 +1332,7 @@ var ScreenshotUI = GObject.registerClass({
             async () => {
                 try {
                     const shooter = new Shell.Screenshot();
-                    const [content] = await shooter.to_content();
+                    const [content] = await shooter.screenshot_stage_to_content();
                     const texture = content.get_texture();
 
                     await captureScreenshot(texture, null, 1, null);